package top.wangjiu.reactive.rpc.autoconfigure.server;

import org.springframework.boot.context.properties.source.ConfigurationPropertySources;
import org.springframework.core.env.ConfigurablePropertyResolver;
import org.springframework.core.env.MutablePropertySources;
import org.springframework.core.env.StandardEnvironment;

/**
 * @ClassName ReactiveRpcApplicationEnvironment
 * @Description TODO
 * @Author wangjiu
 * @Date 2021/8/11 2:32 下午
 */
public class ReactiveRpcApplicationEnvironment extends StandardEnvironment {

    @Override
    protected String doGetActiveProfilesProperty() {
        return null;
    }

    @Override
    protected String doGetDefaultProfilesProperty() {
        return null;
    }

    @Override
    protected ConfigurablePropertyResolver createPropertyResolver(MutablePropertySources propertySources) {
        return ConfigurationPropertySources.createPropertyResolver(propertySources);
    }
}